#include <iostream>
using namespace std;
int num_bought;
int main(){
	cout<<"enter an amount to buy: "<<endl;
	cin>> num_bought;
	if (num_bought=0)
		cout<<"You bought nothing";
	else
		cout<<"You bought "<<num_bought<<" things"<<endl;
	system("pause");
	return 0;
}